<!--
  - Copyright (c) 2019.
  - 北京九思金信科技有限公司对该文件内容保留所有权利。
  - 未经许可，不得私自拷贝、传播、发布、引用该文件内容，违者将被追究法律责任。
  -->
<!-- 客户变更 流程表单（流程中提交表单和审批表单）-->

<template>
    <div>
        <approve-card :task="taskId"
                      :busi-id="busiDataId"
                      :buttons="buttons"
                      @runTask="runTask">
            <ft-operation-log :source-id="busiDataId"
                              slot="busiButton"
                              style="float: right; margin-left: 10px;">
            </ft-operation-log>
        </approve-card>
        <customer-change-flow-form :busi-data-id="busiDataId"></customer-change-flow-form>
    </div>
</template>

<script>
    import CustomerChangeFlowForm from "./CustomerChangeFlowForm.vue";
    export default {
        name: "CustomerChangeCheckFlowForm",
        components: {
            'customer-change-flow-form': CustomerChangeFlowForm,
        },
        props: {
            busiDataId: {type: String, default: ''},
            taskId: {type: String, default: ''},
        },
        data() {
            return {
                buttons: ['AGREE', 'DISAGREE', 'REJECT', 'RECALL'],
            }
        },

        methods:{
            runTask(val) {

            },
        }
    }
</script>

<style scoped>

</style>
